import { createRouter, createWebHashHistory } from 'vue-router'

import Home from './components/Home.vue'
import About from './components/About.vue'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        { path: '/', redirect: '/about' },
        { path: '/home', component: import('./components/Home.vue') },
        { path: '/about', component: import('./components/About.vue') },
    ]
})


export default router
